package proxy;

import lombok.extern.slf4j.Slf4j;

/**
 * @Author: 582895699@qq.com
 * @Desctription: TODO
 * @Date: Created in 2021/12/14 13:53
 */
@Slf4j
public class GamePlayer implements IGamePlayer {


    private String playName = "";

    public GamePlayer(String playName) {
        this.playName = playName;
    }

    @Override
    public void login(String name, String pwd) {
        log.info("登录请求：用户名:{};pwd:{}", name, pwd);
    }

    @Override
    public void killBoss() {
        log.info("用户:[{}]进行打怪", this.playName);
    }

    @Override
    public void upGrade() {
        log.info("用户[{}]升级", this.playName);
    }
}
